import Vue from 'vue'
import App from './App.vue'


Vue.config.productionTip = false;

//定义全局的过滤器
Vue.filter("addFilter1",(value , num) => {
  return '$' + value.toFixed(num)
})

//定义全局的指令
Vue.directive("addBackground" , (ele) => {
  ele.style.background = "skyblue"
})
new Vue({
  render: h => h(App),
}).$mount('#app')
